package com.ruoyi.cbs.contract.domain;

import java.math.BigDecimal;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 承包商信息对象 cbs_contractor
 * 
 * @author ruoyi
 * @date 2025-10-31
 */
public class Contractor extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /** 承包商名称 */
    @Excel(name = "承包商名称")
    private String contractorName;

    /** 统一社会信用代码 */
    @Excel(name = "统一社会信用代码")
    private String contractorCode;

    /** 注册地址 */
    @Excel(name = "注册地址")
    private String registerAddress;

    /** 实际办公地址 */
    @Excel(name = "实际办公地址")
    private String officeAddress;

    /** 企业法人 */
    @Excel(name = "企业法人")
    private String legalPerson;

    /** 注册资本 */
    @Excel(name = "注册资本")
    private BigDecimal registeredCapital;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contactPerson;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactPhone;

    /** 企业类型 */
    @Excel(name = "企业类型")
    private String enterpriseType;

    /** 经营范围 */
    @Excel(name = "经营范围")
    private String businessScope;

    /** 管理部门 */
    @Excel(name = "管理部门")
    private String managementDept;

    /** 管理部门联系人 */
    @Excel(name = "管理部门联系人")
    private String managementPerson;

    /** 营业执照 */
    @Excel(name = "营业执照")
    private String licenseFileId;

    /** 营业执照 */
    @Excel(name = "营业执照")
    private String licenseFileUrl;

    /** 营业执照 */
    @Excel(name = "营业执照")
    private String licenseFileName;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private String status;

    /** 拉黑状态 */
    @Excel(name = "拉黑状态")
    private String isBlack;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public String selectStatus;

    public void setContractorName(String contractorName) 
    {
        this.contractorName = contractorName;
    }

    public String getContractorName() 
    {
        return contractorName;
    }

    public void setContractorCode(String contractorCode) 
    {
        this.contractorCode = contractorCode;
    }

    public String getContractorCode() 
    {
        return contractorCode;
    }

    public void setRegisterAddress(String registerAddress) 
    {
        this.registerAddress = registerAddress;
    }

    public String getRegisterAddress() 
    {
        return registerAddress;
    }

    public void setOfficeAddress(String officeAddress) 
    {
        this.officeAddress = officeAddress;
    }

    public String getOfficeAddress() 
    {
        return officeAddress;
    }

    public void setLegalPerson(String legalPerson) 
    {
        this.legalPerson = legalPerson;
    }

    public String getLegalPerson() 
    {
        return legalPerson;
    }

    public void setRegisteredCapital(BigDecimal registeredCapital) 
    {
        this.registeredCapital = registeredCapital;
    }

    public BigDecimal getRegisteredCapital() 
    {
        return registeredCapital;
    }

    public void setContactPerson(String contactPerson) 
    {
        this.contactPerson = contactPerson;
    }

    public String getContactPerson() 
    {
        return contactPerson;
    }

    public void setContactPhone(String contactPhone) 
    {
        this.contactPhone = contactPhone;
    }

    public String getContactPhone() 
    {
        return contactPhone;
    }

    public void setEnterpriseType(String enterpriseType) 
    {
        this.enterpriseType = enterpriseType;
    }

    public String getEnterpriseType() 
    {
        return enterpriseType;
    }

    public void setBusinessScope(String businessScope) 
    {
        this.businessScope = businessScope;
    }

    public String getBusinessScope() 
    {
        return businessScope;
    }

    public void setManagementDept(String managementDept) 
    {
        this.managementDept = managementDept;
    }

    public String getManagementDept() 
    {
        return managementDept;
    }

    public void setManagementPerson(String managementPerson) 
    {
        this.managementPerson = managementPerson;
    }

    public String getManagementPerson() 
    {
        return managementPerson;
    }

    public void setLicenseFileId(String licenseFileId) 
    {
        this.licenseFileId = licenseFileId;
    }

    public String getLicenseFileId() 
    {
        return licenseFileId;
    }

    public void setLicenseFileUrl(String licenseFileUrl) 
    {
        this.licenseFileUrl = licenseFileUrl;
    }

    public String getLicenseFileUrl() 
    {
        return licenseFileUrl;
    }

    public void setLicenseFileName(String licenseFileName) 
    {
        this.licenseFileName = licenseFileName;
    }

    public String getLicenseFileName() 
    {
        return licenseFileName;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setIsBlack(String isBlack) 
    {
        this.isBlack = isBlack;
    }

    public String getIsBlack() 
    {
        return isBlack;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public String getSelectStatus() {
        return selectStatus;
    }

    public void setSelectStatus(String selectStatus) {
        this.selectStatus = selectStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("contractorName", getContractorName())
            .append("contractorCode", getContractorCode())
            .append("registerAddress", getRegisterAddress())
            .append("officeAddress", getOfficeAddress())
            .append("legalPerson", getLegalPerson())
            .append("registeredCapital", getRegisteredCapital())
            .append("contactPerson", getContactPerson())
            .append("contactPhone", getContactPhone())
            .append("enterpriseType", getEnterpriseType())
            .append("businessScope", getBusinessScope())
            .append("managementDept", getManagementDept())
            .append("managementPerson", getManagementPerson())
            .append("licenseFileId", getLicenseFileId())
            .append("licenseFileUrl", getLicenseFileUrl())
            .append("licenseFileName", getLicenseFileName())
            .append("status", getStatus())
            .append("isBlack", getIsBlack())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
